package com.xm.user.controller;

import org.springframework.web.bind.annotation.*;

@RequestMapping("/test")
@RestController
public class TestController {

    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }

    @PostMapping("/hello")
    public OsInfoDTO helloPost(@RequestBody OsInfoDTO osInfoDTO) {
        return osInfoDTO;
    }
}
